<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>菜单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="${ctx}/style/style.css" rel="stylesheet"  />
<script language="JavaScript" src="${ctx}/scripts/jquery.js"></script>
<script type="text/javascript" src="${ctx}/scripts/lhgdialog/lhgdialog.js"></script>	

<script type="text/javascript">
$(function(){	
	//导航切换
	$(".menuson li").click(function(){
		$(".menuson li.active").removeClass("active")
		$(this).addClass("active");
	});
	
	$('.title').click(function(){
		var $ul = $(this).next('ul');
		$('dd').find('ul').slideUp();
		if($ul.is(':visible')){
			$(this).next('ul').slideUp();
		}else{
			$(this).next('ul').slideDown();
		}
	});
	
	
    var isHiden = true;	/*控制切换菜单*/
    $('#popView').click(function(){
        if(isHiden){
        	$("#popView").css('background','url(../images/open_tree.png) no-repeat center');
			$("#leftmenu").hide();
			parent.frame.cols="18,*";
		}else{
			$("#leftmenu").show();
        	parent.frame.cols="157,*";
        	$("#popView").css('background','url(../images/close_tree.png) no-repeat center');
		}
		isHiden = !isHiden;
    });
    
    
    
    //window.parent.frames['rightFrame'].$.dialog({ content:'我是leftFrame页面按钮弹出的窗口。' });
})	
</script>



<body style="background:#f0f9fd;">
    <div id="popView" class="popView"></div>   
	<div class="lefttop"><span></span>功能列表</div>
    <dl class="leftmenu" id="leftmenu">
	    <dd>
		    <div class="title">
		    <span><img src="${ctx}/images/leftico01.png" /></span>充值管理
		    </div>
	    	<ul class="menuson">
		        <li><cite></cite><a href="${ctx}/Callpaymentrecord_toRecharge.action" target="rightFrame">充值</a><i></i></li>
		        <li><cite></cite><a href="${ctx}/Callpaymentrecord_list.action" target="rightFrame">充值列表</a><i></i></li>
	        </ul>    
	    </dd>
	        
		    <dd>
		    	<div class="title"><span><img src="${ctx}/images/leftico04.png" /></span>系统管理</div>
			    <ul class="menuson">
			    	<li><cite></cite><a href="${ctx}/Agentaccountinfo_toPwdUpdate.action" target="rightFrame">密码修改</a><i></i></li>
					<s:if test="#session.sysUser.agentlevel == 1">
			      		   <li><cite></cite><a href="${ctx}/Prepaidcard_list.action" target="rightFrame">充值卡管理</a><i></i></li>
			      		   <li><cite></cite><a href="${ctx}/Agentaccountinfo_list.action" target="rightFrame">代理商管理</a><i></i></li>
					</s:if>
			    </ul>
		    </dd>   
		
		
		
    </dl>
</body>
</html>
